package com.guoguo.service;

import com.guoguo.base.PageBean;
import com.guoguo.entity.Images;
import com.guoguo.entity.SysImg;
import com.guoguo.entity.vo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2017/8/10 0010.
 */
public interface IImagesService {
    /**
     * 获取专辑下所有图片
     *
     * @param albId
     * @return
     */
    PageBean<AlbumImagesVO> getAlbumImageList(String albId);
    PageBean<AlbumImagesVO> getAlbumImagesList(String albId,int pageNum,int pageSize);

    PageBean<AcAlbumImagesVO> getImagesById(String albId);


    /**
     * 获取图片所有评论
     *
     * @param imgId
     * @return
     */
    PageBean<CommentVO> getCommentList(String imgId,int pageNum,int pageSize);
    PageBean<CommentVO> getHotCommentList(String imgId,int pageNum,int pageSize);

    PageBean<FavoriteVO> getImageList(String userId, int pageNum,int pageSize);


    /**
     * 获取系统图片
     *
     * @return
     */
    PageBean<SysImgVO> getImages();

    List<Images> selectBy(Images images);

    int insert(Images images);

    int insertSelective(Images images);

    int countBy(Images images);

    Images selectByPrimaryKey(String imgId);

    int deleteByPrimaryKey(String imgId);

    int deleteBy(Images images);

    int updateBySelective(Images images);

    int updateBy(Images images);

    int updateByPrimaryKeySelective(Images images);

    int updateByPrimaryKey(String imgId);


}
